import { requestWithoutLoading } from '@/utils'

// 请求: 用户详情 
export const getUserDetail      = (uid) => requestWithoutLoading.get("/user/detail", { 
    params: { uid } 
})

const PLAYLIST_LIMIT = 1000

// 请求: 用户歌单 1000
export const getUserPlaylist    = (uid) => requestWithoutLoading.get("/user/playlist", { 
    params: { uid, limit: PLAYLIST_LIMIT } 
})